﻿namespace AbpRabbitMqAppOne
{
    using System;

    using Abp.Dependency;
    using Abp.Events.Bus.Handlers;

    public class TestEventDataHandler : IEventHandler<TestEventData>, ITransientDependency
    {
        public void HandleEvent(TestEventData eventData)
        {
            Console.WriteLine($"处理事件{eventData.GetType().Name},事件内容:{eventData.Message}");
        }
    }
}